home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / be003.dxr / 00045.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  355 b   |  18 lines

  1. on exitFrame
  2.   go(the frame)
  3.   set LastTick to the ticks
  4.   repeat while the locH of sprite 4 > 280
  5.     set x to 2 * (the ticks - LastTick)
  6.     set LastTick to the ticks
  7.     set the locH of sprite 4 to the locH of sprite 4 - x
  8.     updateStage()
  9.   end repeat
  10.   if the locH of sprite 4 <= 280 then
  11.     go(the frame + 1)
  12.   end if
  13. end
  14.  
  15. on mouseUp
  16.   go(75)
  17. end
  18.